﻿using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;

namespace Thaire.Investment.Repository.Mapping
{
    class StockSignMap : ClassMap<StockSign>
    {
        public StockSignMap()
        {
            Table("STOCK_SIGN");
            Id(x => x.StockSignId, "STOCK_SIGN_ID").GeneratedBy.Identity();
            Map(x => x.StockSignNameEn, "STOCK_SIGN_NAME_EN");
            Map(x => x.StockSignNameTh, "STOCK_SIGN_NAME_TH");
            Map(x => x.StockSignDesc, "STOCK_SIGN_DESC");
        }
    }
}
